
import java.awt.geom.Point2D;


public class Circle 
{
    private Point2D center;
    private double radius;
   
    public Circle(Point2D center, double radius) {
        this.center = center;
        this.radius = radius;
    }

    public boolean contains(Point2D p) {  return p.distance(center) <= radius; }

}
